//
//  Product.m
//  HZAPP
//
//  Created by huazi on 15/10/11.
//  Copyright (c) 2015年 huazi. All rights reserved.
//

#import "Product.h"

@implementation Product
- (id)initWithDic:(NSDictionary *)dic {
    if (self =[super init]) {
        self.pactiveName =[dic objectForKey:@"activeName"];
        self.pactiveType =[dic objectForKey:@"activeType"];
        self.parea =[dic objectForKey:@"area"];
        self.pcity =[dic objectForKey:@"city"];
        self.pfkProductStore =[dic objectForKey:@"fkProductStore"];
        self.pindustry1 =[dic objectForKey:@"industry1"];
        self.pindustry2 =[dic objectForKey:@"industry2"];
        self.plogoPic =[dic objectForKey:@"logoPic"];
        self.ppkProductDet =[dic objectForKey:@"pkProductDet"];
        self.pprice =[dic objectForKey:@"price"];
        self.pproductId =[dic objectForKey:@"productId"];
        self.pproductName =[dic objectForKey:@"productName"];
        self.pprovince =[dic objectForKey:@"province"];
        self.pproductDes =[dic objectForKey:@"productDes"];
        self.psalesVolume =[dic objectForKey:@"salesVolume"];
        self.pspecName =[dic objectForKey:@"specName"];
        self.pstoreNum =[dic objectForKey:@"storeNum"];
        self.ptrade_count =[dic objectForKey:@"trade_count"];
        self.ptrade_price =[dic objectForKey:@"trade_price"];
        self.punit =[dic objectForKey:@"unit"];
    }
    return self;
}
@end
